package com.example.petproject.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

/**
 * 包名称：com.example.petproject.entity.dto
 * 类名称：ProductSearchDTO
 * 类描述：查询商品条件实体类
 * 创建人：@author DrinkMore-HotWater
 * 创建时间：2024年01月12日 13:34
 **/
@Schema(name = "商品查询条件实体类")
public class ProductSearchDTO extends PageDTO {

    @Schema(description = "品牌id")
    private Long brandId;
    @Schema(description = "一级分类id")
    private Long productLevel1CategoryId;
    @Schema(description = "二级分类id")
    private Long productLevel2CategoryId;
    @Schema(description = "关键字")
    private String keyword;
    @Schema(description = "商品属性id列表")
    private List<Long> productAttributeIds;
    @Schema(description = "排序字段")
    private Integer sort;

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public Long getProductLevel1CategoryId() {
        return productLevel1CategoryId;
    }

    public void setProductLevel1CategoryId(Long productLevel1CategoryId) {
        this.productLevel1CategoryId = productLevel1CategoryId;
    }

    public Long getProductLevel2CategoryId() {
        return productLevel2CategoryId;
    }

    public void setProductLevel2CategoryId(Long productLevel2CategoryId) {
        this.productLevel2CategoryId = productLevel2CategoryId;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public List<Long> getProductAttributeIds() {
        return productAttributeIds;
    }

    public void setProductAttributeIds(List<Long> productAttributeIds) {
        this.productAttributeIds = productAttributeIds;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
